package hy.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
//@CrossOrigin
@RestController
public class MyCtrl {
    @GetMapping("/hello")
    public String m1(){
        System.out.println("I got a request.......");
        return "this is my springboot";
    }
}
